package org.springcloud.wisdom.springcloud_03_freshman.student.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 院系管理
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("department")
public class Dept {
    @TableId(type = IdType.AUTO,value = "wisdom.department.deptid")
    private Integer deptid;
    @TableField("wisdom.department.deptno")
    private String deptno;
    @TableField("wisdom.department.deptname")
    private String deptname;
}
